﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DBConnection;
using DBConnection.Helper;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            string connectionString = "server=localhost;User Id=root;Persist Security Info=True;database=ogrenci2006_dbo;password=123456";
            ConnectionDB aDB=new ConnectionDB(ConnectionType.MySQL,connectionString);
            Table a=new Table("Fakulty");
            Column desc=new Column("description");
            Column ID=new Column("ID");
            List<string> res = aDB.Select(a,desc,ID);
            foreach (var b in res)
            {
                Console.WriteLine(b);
            }
            Console.ReadKey(true);
        }
    }
}
